FunctionCoverage

data class FunctionCoverage(functionName: String, ranges: List<CoverageRange>, isBlockCoverage: Boolean)

Coverage data for a JavaScript function.

Constructors

FunctionCoverage
Link copied to clipboard
fun FunctionCoverage(functionName: String, ranges: List<CoverageRange>, isBlockCoverage: Boolean)

Properties

functionName
Link copied to clipboard
val functionName: String
JavaScript function name.
isBlockCoverage
Link copied to clipboard
val isBlockCoverage: Boolean
Whether coverage data for this function has block granularity.
ranges
Link copied to clipboard
val ranges: List<CoverageRange>
Source ranges inside the function with coverage data.

Sources

jvm source
Link copied to clipboard